﻿/*
 * Created by SharpDevelop.
 * User: cszhangyi
 * Date: 2016/9/8
 * Time: 14:20
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.ComponentModel;

using Newtonsoft.Json;

namespace JsonTest
{
	/// <summary>
	/// Description of Student.
	/// </summary>
	[JsonObject(MemberSerialization.OptOut)]
	public class Student
	{
		public string name
		{get;set;}
			
		public int age
		{get;set;}
		
		[DefaultValue(typeof(string), "555")]  
		public string Sex
		{get;set;}
		
		public Student()
		{
		}
	}
}
